package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
	/**
	 * 根据分类id查询
	 */
	PageResult getDish(DishPageQueryDTO dishPageQueryDTO);
	
	void addDish(DishDTO dishDTO);
	
	/**
	 * 根据id查询
	 *
	 * @param id
	 * @return
	 */
	DishVO getDishId(Long id);
	
	List<DishVO> getDishCategoryId(Long id);
	
	void putDishStatus(Long id, Integer status);
	
	void deleteDish(List<Long> ids);
	
	void putDish(DishDTO dishDTO);
}
